import '@common/envExtend';
import { spring } from 'j-spring';
import { WinstonLog } from 'j-spring-log';
import { AppStater } from '@starter/AppStarter';

//环境扩展
spring
  .loadConfigFile(`./config/${__dev__ ? 'dev' : 'production'}.yaml`)
  .loadLogger(WinstonLog)
  .bindList([AppStater])
  .invokeStarter();
